import { useDateFormat } from "../../hooks";
import style from "./style.module.scss";
const Header = () => {
  const { date } = useDateFormat()
  return (
    <div className={style.header}>
      <div className={style.title}>
        数据库可视化通用模板
      </div>
      <h4 className={style.time}>{date}</h4>
    </div>
  );
};

export default Header;
